import numpy as np

a = np.array([1, 2, 3])
print(a.shape, a.ndim, sep=',')

b = np.array([[1, 2], [3, 4]])
print(b.shape, b.ndim, sep=',')

# 2大块 * 2行 * 3列
c = np.array([[[1, 2, 3], [2, 3, 4]], [[3, 4, 5], [4, 5, 6]]])
print(c.shape, c.ndim, sep=',')
print(c)

e = np.array(["One", "Two", "Threefsdfdsaf"], dtype=np.string_)
print(e.dtype)